package lj.internal.dict.enums.ticketBatch;

/**
 * 电子券状态字典 对应ticket_main表中电子券状态字段
 * @author liangxifeng
 * @date 2023/6/16 16:22
 */
public enum EnumTicketStatus {
    RAW(0,"原始券(预制)"),
    NOT_SEND(1,"未发放(加入批次)"),
    SENDED(2,"已发放(生成使用码)"),
    USED(3,"已使用"),
    CANCEL(4,"已作废(退货生产)"),
    EXPIRED(5,"已过期");

    private Integer code;
    private String name;

    EnumTicketStatus(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }
    public String getName() {
        return name;
    }

}
